package com.mrd.gtimpframe.repository;

import com.mrd.base.Jqgrid;
import com.mrd.gtimpframe.entity.CustomCompanyInfo;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface CusInfoMapper {
    int deleteByPrimaryKey(String comInfoId);

    int insert(CustomCompanyInfo companyInfo);

    int insertSelective(CustomCompanyInfo companyInfo);

    CustomCompanyInfo selectByPrimaryKey(String comInfoId);

    int updateByPrimaryKeySelective(CustomCompanyInfo companyInfo);

    int updateByPrimaryKey(CustomCompanyInfo companyInfo);

    /**
     * 查询客户代录人信息
     * @param customCompanyInfo
     * @return
     */
    List<CustomCompanyInfo> selectSelective(CustomCompanyInfo customCompanyInfo);
    /**
     * 根据代录人id查询公司
     */
    List<CustomCompanyInfo>  selectSelectiveCompId(CustomCompanyInfo customCompanyInfo);
    /**
     * 根据公司id查询公司类型
     */
    CustomCompanyInfo selectCustType(String ComId);

    /**
     * 根据公司id查询公司名称
     */
    CustomCompanyInfo selectComNameById(String comId);

}